package com.shangcheng.dubbo.api;

import com.shangcheng.model.domain.AdminRoleRelation;
import java.util.List;

public interface AdminRoleRelationApi {
    //获取指定用户的角色,查询中间表中所有关于该用户的角色
    List<AdminRoleRelation> getRole(Integer adminId);

    void removeById(Integer adminId);

    void insert(Integer adminId, List<Long> roleIdsLong);
}
